package com.xinqi.modules.file.course.prepare.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.UpdateTimeEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 备课区互动课件切片实体层
 *
 * @author: system
 * @date: 2023/03/19
 */
@Setter
@Getter
@TableName("pl_prepare_courseware_part")
public class PrepareCoursewarePartEntity extends UpdateTimeEntity {
    /**
     * 备课区id
     */
    @TableField(value = "prepare_id")
    private Long prepareId;
    /**
     * 备课区互动课件id
     */
    @TableField(value = "courseware_id")
    private Long coursewareId;
    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;
    /**
     * 切片序号
     */
    @TableField(value = "page_number")
    private Integer pageNumber;
    /**
     * 文件类型
     */
    @TableField(value = "file_type")
    private String fileType;
    /**
     * 切片文件
     */
    @TableField(value = "file")
    private String file;
    /**
     * 总分
     */
    @TableField(value = "total_score")
    private BigDecimal totalScore;
    /**
     * 题目总数
     */
    @TableField(value = "question_total")
    private Integer questionTotal;
    /**
     * 题型总数
     */
    @TableField(value = "question_type_total")
    private Integer questionTypeTotal;
    /**
     * 题目内容
     */
    @TableField(value = "question_content")
    private String questionContent;
}
